<h1>Editing semester</h1>

<% form_for @semester, :url => { :action => "update" } do |f| %>
  <%= f.error_messages %>

  <p>
    <%-# <%= f.label :year %><br /> -%>
    <%-# <%= f.text_field :year %> -%>
  </p>
  <p>
    <%= f.label :term %><br />
    <%= f.text_field :term %>  ex: Fall2010
  </p>
  <p>
    <%= f.submit 'Update Semester' %>
  </p>
<% end %>

<%= link_to 'Cancel Edit', semester_path(@semester.term) %> |
<%= link_to 'Back to Semester List', semesters_path %>